package com.order.api.vo.response;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel(value = "订单详情返回")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrdersResponse {

    @ApiModelProperty(value="主键")
    private Integer id;

    @ApiModelProperty(value="用户id")
    private Integer userId;

    @ApiModelProperty(value="商品id")
    private Integer shopId;

    @ApiModelProperty(value="商品数量")
    private Integer orderQuantity;

    @ApiModelProperty(value="订单地址")
    private String orderAddress;

    @ApiModelProperty(value="订单状态（0：有效，1：无效）")
    private String state;
}
